package com.ebupt.migu.music.iop.controller;

import com.ebupt.migu.music.common.entity.ResultObject;
import com.ebupt.migu.music.iop.service.IopService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author tz
 */
@Slf4j
@RestController
@RequestMapping("/iop")
public class IopController {

    @Resource
    private IopService iopService;

    /**
     *  获取iop接口标签列表
     * @return
     */
    @GetMapping("/getTags")
    public ResultObject getTags() {
        return iopService.getTags();
    }

}